package com.easy.dao;

import com.easy.bean.Member;
import com.easy.utils.Page;
import com.easy.utils.Type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IMemberDao {

    List<Member> getMember(@Param("member") Member member,@Param("page") Page page);
    int getMemberCount(@Param("member") Member member);

    List<Member> getAllMember();

    int delMemberByID(int id);

    int addMember(Member member);

    Member getMemberByID(int id);

    int editMember(Member member);

    List<Type> getMemberType();

    List<Type> getMemberStatusType();
}
